package delegate

/**
 * @author aidenquan
 *         Created by junlintianxia on 2022/10/12.
 */
// 被委托对象，本场景中的游戏代练
class RealGamePlayer(private val name: String): IGamePlayer{
    override fun rank() {
        println("$name 开始排位赛")
    }

    override fun upgrade() {
        println("$name 升级了")
    }

}